home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMLSParser.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  7KB  |  200 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMLSParser.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMLSParser_h__
  6. #define __gen_nsIDOMLSParser_h__
  7.  
  8.  
  9. #ifndef __gen_domstubs_h__
  10. #include "domstubs.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDOMDOMConfiguration; /* forward declaration */
  18.  
  19. class nsIDOMLSParserFilter; /* forward declaration */
  20.  
  21. class nsIDOMLSInput; /* forward declaration */
  22.  
  23. class LSException; /* forward declaration */
  24.  
  25.  
  26. /* starting interface:    nsIDOMLSParser */
  27. #define NS_IDOMLSPARSER_IID_STR "2a31a3a0-be68-40af-9f64-914192f0fba2"
  28.  
  29. #define NS_IDOMLSPARSER_IID \
  30.   {0x2a31a3a0, 0xbe68, 0x40af, \
  31.     { 0x9f, 0x64, 0x91, 0x41, 0x92, 0xf0, 0xfb, 0xa2 }}
  32.  
  33. class NS_NO_VTABLE nsIDOMLSParser : public nsISupports {
  34.  public: 
  35.  
  36.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMLSPARSER_IID)
  37.  
  38.   /* readonly attribute nsIDOMDOMConfiguration domConfig; */
  39.   NS_IMETHOD GetDomConfig(nsIDOMDOMConfiguration * *aDomConfig) = 0;
  40.  
  41.   /* attribute nsIDOMLSParserFilter filter; */
  42.   NS_IMETHOD GetFilter(nsIDOMLSParserFilter * *aFilter) = 0;
  43.   NS_IMETHOD SetFilter(nsIDOMLSParserFilter * aFilter) = 0;
  44.  
  45.   /* readonly attribute boolean async; */
  46.   NS_IMETHOD GetAsync(PRBool *aAsync) = 0;
  47.  
  48.   /* readonly attribute boolean busy; */
  49.   NS_IMETHOD GetBusy(PRBool *aBusy) = 0;
  50.  
  51.   /* nsIDOMDocument parse (in nsIDOMLSInput input)  raises (DOMException, LSException); */
  52.   NS_IMETHOD Parse(nsIDOMLSInput *input, nsIDOMDocument **_retval) = 0;
  53.  
  54.   /* nsIDOMDocument parseURI (in DOMString uri)  raises (DOMException, LSException); */
  55.   NS_IMETHOD ParseURI(const nsAString & uri, nsIDOMDocument **_retval) = 0;
  56.  
  57.   enum { ACTION_APPEND_AS_CHILDREN = 1U };
  58.  
  59.   enum { ACTION_REPLACE_CHILDREN = 2U };
  60.  
  61.   enum { ACTION_INSERT_BEFORE = 3U };
  62.  
  63.   enum { ACTION_INSERT_AFTER = 4U };
  64.  
  65.   enum { ACTION_REPLACE = 5U };
  66.  
  67.   /* nsIDOMNode parseWithContext (in nsIDOMLSInput input, in nsIDOMNode contextArg, in unsigned short action)  raises (DOMException, LSException); */
  68.   NS_IMETHOD ParseWithContext(nsIDOMLSInput *input, nsIDOMNode *contextArg, PRUint16 action, nsIDOMNode **_retval) = 0;
  69.  
  70.   /* void abort (); */
  71.   NS_IMETHOD Abort(void) = 0;
  72.  
  73. };
  74.  
  75. /* Use this macro when declaring classes that implement this interface. */
  76. #define NS_DECL_NSIDOMLSPARSER \
  77.   NS_IMETHOD GetDomConfig(nsIDOMDOMConfiguration * *aDomConfig); \
  78.   NS_IMETHOD GetFilter(nsIDOMLSParserFilter * *aFilter); \
  79.   NS_IMETHOD SetFilter(nsIDOMLSParserFilter * aFilter); \
  80.   NS_IMETHOD GetAsync(PRBool *aAsync); \
  81.   NS_IMETHOD GetBusy(PRBool *aBusy); \
  82.   NS_IMETHOD Parse(nsIDOMLSInput *input, nsIDOMDocument **_retval); \
  83.   NS_IMETHOD ParseURI(const nsAString & uri, nsIDOMDocument **_retval); \
  84.   NS_IMETHOD ParseWithContext(nsIDOMLSInput *input, nsIDOMNode *contextArg, PRUint16 action, nsIDOMNode **_retval); \
  85.   NS_IMETHOD Abort(void); 
  86.  
  87. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  88. #define NS_FORWARD_NSIDOMLSPARSER(_to) \
  89.   NS_IMETHOD GetDomConfig(nsIDOMDOMConfiguration * *aDomConfig) { return _to GetDomConfig(aDomConfig); } \
  90.   NS_IMETHOD GetFilter(nsIDOMLSParserFilter * *aFilter) { return _to GetFilter(aFilter); } \
  91.   NS_IMETHOD SetFilter(nsIDOMLSParserFilter * aFilter) { return _to SetFilter(aFilter); } \
  92.   NS_IMETHOD GetAsync(PRBool *aAsync) { return _to GetAsync(aAsync); } \
  93.   NS_IMETHOD GetBusy(PRBool *aBusy) { return _to GetBusy(aBusy); } \
  94.   NS_IMETHOD Parse(nsIDOMLSInput *input, nsIDOMDocument **_retval) { return _to Parse(input, _retval); } \
  95.   NS_IMETHOD ParseURI(const nsAString & uri, nsIDOMDocument **_retval) { return _to ParseURI(uri, _retval); } \
  96.   NS_IMETHOD ParseWithContext(nsIDOMLSInput *input, nsIDOMNode *contextArg, PRUint16 action, nsIDOMNode **_retval) { return _to ParseWithContext(input, contextArg, action, _retval); } \
  97.   NS_IMETHOD Abort(void) { return _to Abort(); } 
  98.  
  99. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  100. #define NS_FORWARD_SAFE_NSIDOMLSPARSER(_to) \
  101.   NS_IMETHOD GetDomConfig(nsIDOMDOMConfiguration * *aDomConfig) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDomConfig(aDomConfig); } \
  102.   NS_IMETHOD GetFilter(nsIDOMLSParserFilter * *aFilter) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilter(aFilter); } \
  103.   NS_IMETHOD SetFilter(nsIDOMLSParserFilter * aFilter) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFilter(aFilter); } \
  104.   NS_IMETHOD GetAsync(PRBool *aAsync) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAsync(aAsync); } \
  105.   NS_IMETHOD GetBusy(PRBool *aBusy) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBusy(aBusy); } \
  106.   NS_IMETHOD Parse(nsIDOMLSInput *input, nsIDOMDocument **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Parse(input, _retval); } \
  107.   NS_IMETHOD ParseURI(const nsAString & uri, nsIDOMDocument **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ParseURI(uri, _retval); } \
  108.   NS_IMETHOD ParseWithContext(nsIDOMLSInput *input, nsIDOMNode *contextArg, PRUint16 action, nsIDOMNode **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ParseWithContext(input, contextArg, action, _retval); } \
  109.   NS_IMETHOD Abort(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Abort(); } 
  110.  
  111. #if 0
  112. /* Use the code below as a template for the implementation class for this interface. */
  113.  
  114. /* Header file */
  115. class nsDOMLSParser : public nsIDOMLSParser
  116. {
  117. public:
  118.   NS_DECL_ISUPPORTS
  119.   NS_DECL_NSIDOMLSPARSER
  120.  
  121.   nsDOMLSParser();
  122.  
  123. private:
  124.   ~nsDOMLSParser();
  125.  
  126. protected:
  127.   /* additional members */
  128. };
  129.  
  130. /* Implementation file */
  131. NS_IMPL_ISUPPORTS1(nsDOMLSParser, nsIDOMLSParser)
  132.  
  133. nsDOMLSParser::nsDOMLSParser()
  134. {
  135.   /* member initializers and constructor code */
  136. }
  137.  
  138. nsDOMLSParser::~nsDOMLSParser()
  139. {
  140.   /* destructor code */
  141. }
  142.  
  143. /* readonly attribute nsIDOMDOMConfiguration domConfig; */
  144. NS_IMETHODIMP nsDOMLSParser::GetDomConfig(nsIDOMDOMConfiguration * *aDomConfig)
  145. {
  146.     return NS_ERROR_NOT_IMPLEMENTED;
  147. }
  148.  
  149. /* attribute nsIDOMLSParserFilter filter; */
  150. NS_IMETHODIMP nsDOMLSParser::GetFilter(nsIDOMLSParserFilter * *aFilter)
  151. {
  152.     return NS_ERROR_NOT_IMPLEMENTED;
  153. }
  154. NS_IMETHODIMP nsDOMLSParser::SetFilter(nsIDOMLSParserFilter * aFilter)
  155. {
  156.     return NS_ERROR_NOT_IMPLEMENTED;
  157. }
  158.  
  159. /* readonly attribute boolean async; */
  160. NS_IMETHODIMP nsDOMLSParser::GetAsync(PRBool *aAsync)
  161. {
  162.     return NS_ERROR_NOT_IMPLEMENTED;
  163. }
  164.  
  165. /* readonly attribute boolean busy; */
  166. NS_IMETHODIMP nsDOMLSParser::GetBusy(PRBool *aBusy)
  167. {
  168.     return NS_ERROR_NOT_IMPLEMENTED;
  169. }
  170.  
  171. /* nsIDOMDocument parse (in nsIDOMLSInput input)  raises (DOMException, LSException); */
  172. NS_IMETHODIMP nsDOMLSParser::Parse(nsIDOMLSInput *input, nsIDOMDocument **_retval)
  173. {
  174.     return NS_ERROR_NOT_IMPLEMENTED;
  175. }
  176.  
  177. /* nsIDOMDocument parseURI (in DOMString uri)  raises (DOMException, LSException); */
  178. NS_IMETHODIMP nsDOMLSParser::ParseURI(const nsAString & uri, nsIDOMDocument **_retval)
  179. {
  180.     return NS_ERROR_NOT_IMPLEMENTED;
  181. }
  182.  
  183. /* nsIDOMNode parseWithContext (in nsIDOMLSInput input, in nsIDOMNode contextArg, in unsigned short action)  raises (DOMException, LSException); */
  184. NS_IMETHODIMP nsDOMLSParser::ParseWithContext(nsIDOMLSInput *input, nsIDOMNode *contextArg, PRUint16 action, nsIDOMNode **_retval)
  185. {
  186.     return NS_ERROR_NOT_IMPLEMENTED;
  187. }
  188.  
  189. /* void abort (); */
  190. NS_IMETHODIMP nsDOMLSParser::Abort()
  191. {
  192.     return NS_ERROR_NOT_IMPLEMENTED;
  193. }
  194.  
  195. /* End of implementation class template. */
  196. #endif
  197.  
  198.  
  199. #endif /* __gen_nsIDOMLSParser_h__ */
  200.